package com.ruoyi.modules.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_option
 */
@TableName(value ="t_option")
@Data
public class TOption implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 任务表id
     */
    private String rwbId;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 回显部门id
     */
    private Long showDeptId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 意见
     */
    private String spyj;

    /**
     * 1已审批
     */
    private String spStatus;

    /**
     * 审批时间
     */
    private Date spsj;

    private Long sprId;
    private String sprName;

    /**
     * 行政级别
     */
    private String level;

    /**
     * 创建部门
     */
    private Long createDept;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 是否反馈
     */
    private String fkzt="1";

    /**
     * 反馈内容
     */
    private String fknr;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    private String parentId;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public TOption() {
    }


    public TOption(String rwbId, Long deptId, String deptName, String spStatus,String level,Long createDept,String parentId) {
        this.rwbId = rwbId;
        this.deptId = deptId;
        this.deptName = deptName;
        this.spStatus = spStatus;
        this.level = level;
        this.createDept = createDept;
        this.parentId = parentId;
    }


    public TOption(String rwbId, Long deptId, String deptName, String spStatus,String level,Long createDept,String parentId,Long roleId,Long showDeptId) {
        this.rwbId = rwbId;
        this.deptId = deptId;
        this.deptName = deptName;
        this.spStatus = spStatus;
        this.level = level;
        this.createDept = createDept;
        this.parentId = parentId;
        this.roleId = roleId;
        this.showDeptId = showDeptId;
    }
}